<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_articles_category
 * @copyright	Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

$showBanner = $this->countModules('banner');
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" slick-uniqueid="1">
<head>
	<jdoc:include type="head" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>3alaptop</title>
	<script type="text/javascript" language="javascript" src="<?php echo $this->baseurl ?>/templates/laptop3a/js/jquery-1.8.2.min.js"></script>
	<script type="text/javascript" language="javascript" src="<?php echo $this->baseurl ?>/templates/laptop3a/js/jquery.carouFredSel-6.2.0-packedz.js"></script>
	<script type="text/javascript" language="javascript" src="<?php echo $this->baseurl ?>/templates/laptop3a/js/jquery.mousewheel.minz.js"></script>
	<script type="text/javascript" language="javascript" src="<?php echo $this->baseurl ?>/templates/laptop3a/js/jquery.touchSwipe.min.js"></script>
	<script type="text/javascript" language="javascript" src="<?php echo $this->baseurl ?>/templates/laptop3a/js/jquery.ba-throttle-debounce.min.js"></script>
	<script type="text/javascript" language="javascript" src="<?php echo $this->baseurl ?>/templates/laptop3a/js/jquery.cookie.js"></script>
	
	
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/laptop3a/css/ui/jquery-ui-1.10.2.custom.min.css">
	
	<!-- CLOUD ZOOM -->
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/laptop3a/css/ui/cloud-zoom.css">
	<script type="text/javascript" language="javascript" src="<?php echo $this->baseurl ?>/templates/laptop3a/js/cloud-zoom.1.0.2.js"></script>
	
	<!-- CLOUD ZOOM -->
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/laptop3a/css/ui/bxslider/jquery.bxslider.css">
	<script type="text/javascript" language="javascript" src="<?php echo $this->baseurl ?>/templates/laptop3a/js/bxslider/jquery.bxslider.js"></script>
	
	
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/laptop3a/css/style.css">
	<script type="text/javascript">
	$(function() {
				//$('.foo2').carouFredSel({
				//	auto: true,
				//	prev: '.prevx',
				//	next: '.nextx',
				//	pagination: ".pager2",
				//	mousewheel: false,
				//	scroll:{
				//	items			: 1,
				//	effect			: "easeOutBounce",
				//	duration		: 1000,	
				//	},
				//	
				//	swipe: {
				//		onMouse: true,
				//		onTouch: true
				//	}
				//});
				
				$('.foo2z').bxSlider({
					minSlides: 5,
					auto: true,
					pager: false,
					moveSlides: 1,
					maxSlides: 5,
					slideWidth: 160,
					slideMargin: 10
				});
				
				//$( "#tabs" ).tabs();
				
				if ($.cookie("xemtheo") == "o") {
					$('#category').addClass("list");
					$('.view_type .list').css('font-weight','bold');
				}
				else
				{
					$('.view_type .row').css('font-weight','bold');
				}
				
				$('.view_type .list').click(function () {
					$('#category').addClass("list");
					//$.cookie("xemtheo")
					$.cookie("xemtheo", "o");
					$('.view_type .list').css('font-weight','bold');
					$('.view_type .row').css('font-weight','normal');
				});
				
				$('.view_type .row').click(function () {
					$('#category').removeClass("list");
					$.cookie("xemtheo", null);
					$('.view_type .row').css('font-weight','bold');
					$('.view_type .list').css('font-weight','normal');
				});
	});
	</script>
	
	</head>
<body>
<div id="content">
	
	<div id="wrapper">
		<div id="header">
			<div id="top">
				<div class="block ofh">
					<div id="hotline">
						<p>Hotline : 0913 533 849 - Tel :  +84 511 3844 679 - Email: <a href="mailto:duyanhhtt@yahoo.com"></a>duyanhhtt@yahoo.com</p>
					</div>
					<div id="search">
						<jdoc:include type="modules" name="search" style="" />					
					</div>
				</div>
			</div>
			<div class="w960 mha por">
				<jdoc:include type="modules" name="logo" style="" />	
			</div>
			<jdoc:include type="modules" name="header" style="" />	
		</div>
		
		<?php if($showBanner) { ?>
			<div id="banner">
				<jdoc:include type="modules" name="banner" style="" />	
			</div>
		<?php } ?>
		
			<jdoc:include type="modules" name="breadcrumbs" />
		
		<div class="clear"></div>
		<div id="body">
				
			<?php if(JRequest::getVar('Itemid')=='101') { ?>
				<jdoc:include type="modules" name="newproduct" style="" />
				<br />
				<jdoc:include type="modules" name="hotproduct" style="" />	
			<?php } else { ?>
			
			<div id="block-main">			
				<jdoc:include type="component" />
			</div>
			<div id="block-right">			
				<jdoc:include type="modules" name="right" />		
	
			</div>																				
			<?php } ?>
				
		</div>
	</div>
	<div id="footer" class="">
		<div id="ft-top">
			<ul>
				<li><a href="#">Sitemap</a></li>
				<li><a href="#">Dịch vụ sửa chữa</a></li>
				<li><a href="#">Chính sách bảo hành</a></li>
				<li><a href="#">Liên hệ</a></li>
			</ul>
		</div>
		<div id="ft-bottom">
			<div class="ftcontent">
				<div id="social">
					<ul>
						<li><a href="#"><img src="images/fb.png" /></a></li>
						<li><a href="#"><img src="images/tw.png" /></a></li>
						<li><a href="#"><img src="images/yt.png" /></a></li>
						<li><a href="#"><img src="images/gp.png" /></a></li>
					</ul>
				</div>
				<div class="clear"></div>
				<div class="block-left">					
					<jdoc:include type="modules" name="bottom-menu" />					
				</div>
				<div class="block-right">					
					<jdoc:include type="modules" name="bottom-contact" />									
				</div>
				<div class="clear"></div>
				<div id="copy">
					<p>Copyright © 2013. All Rights Reserved. Develop by <a class="cf1" href="mailto:duyduc87@gmail.com">Duy Duc</a></p>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>